package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the TT_DOCU_TRANS database table.
 * 
 */
@Entity
@Table(name="TT_DOCU_TRANS")
public class TtDocuTran implements Serializable {
	private static final long serialVersionUID = 1L;
	private TtDocuTranPK id;
	private String aaTitu;
	private byte[] cnDocu;
	private String coOficRgst;
	private String coRegi;
	private String nuTitu;
	private String tipoDoc;

    public TtDocuTran() {
    }


	@EmbeddedId
	public TtDocuTranPK getId() {
		return this.id;
	}

	public void setId(TtDocuTranPK id) {
		this.id = id;
	}
	

	@Column(name="AA_TITU", length=4)
	public String getAaTitu() {
		return this.aaTitu;
	}

	public void setAaTitu(String aaTitu) {
		this.aaTitu = aaTitu;
	}


	@Column(name="CN_DOCU", nullable=false)
	public byte[] getCnDocu() {
		return this.cnDocu;
	}

	public void setCnDocu(byte[] cnDocu) {
		this.cnDocu = cnDocu;
	}


	@Column(name="CO_OFIC_RGST", length=2)
	public String getCoOficRgst() {
		return this.coOficRgst;
	}

	public void setCoOficRgst(String coOficRgst) {
		this.coOficRgst = coOficRgst;
	}


	@Column(name="CO_REGI", length=2)
	public String getCoRegi() {
		return this.coRegi;
	}

	public void setCoRegi(String coRegi) {
		this.coRegi = coRegi;
	}


	@Column(name="NU_TITU", length=8)
	public String getNuTitu() {
		return this.nuTitu;
	}

	public void setNuTitu(String nuTitu) {
		this.nuTitu = nuTitu;
	}


	@Column(name="TIPO_DOC", length=3)
	public String getTipoDoc() {
		return this.tipoDoc;
	}

	public void setTipoDoc(String tipoDoc) {
		this.tipoDoc = tipoDoc;
	}

}